package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.SystemNotice;
import java.util.List;

public interface SystemNoticeMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SystemNotice entity);

    SystemNotice selectByPrimaryKey(Long id);

    List<SystemNotice> selectAll();

    int updateByPrimaryKey(SystemNotice entity);

    Integer selectNoticeCount(Long userId);

    List<SystemNotice> selectNoticeInfo(Long userId);

    void updateReadState(Long id);

}